<!DOCTYPE html>
<html lang="utf-8">
<head>
    <meta charset="UTF-8">
    <title>Please Sign In</title>
</head>
<body>
    {% if message %}
    <p style="color:red">{{ message}}</p>
    {% endif %}
    {{ form_str }}
    <form action="/signin" method="post">
        <legend>Please sign in :</legend>
        <p>用户名：<input name="username" placeholder="Username" value="{{ username}}"></p>
        <p>密码：<input name="password" placeholder="Password" type="password"></p>
        <p><button type="submit">Sign In</button> </p>
    </form>

</body>
</html>